package com.example.demo.entity.request.repository;

import com.example.demo.common.entity.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 成品入库请求对象
 *
 * @author Mei Ruoxiao
 * @date 2020-09-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel("成品入库请求对象")
public class ProductRepositoryRequest extends BaseRequest {

    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "规格/型号", example = "HD20200915S")
    private String spec;
    @ApiModelProperty(value = "产品编码", example = "HDAS5263")
    private String code;
    @ApiModelProperty(value = "领料人", example = "王琦")
    private String picker;
    @ApiModelProperty(value = "数量", example = "128")
    private Integer quantity;
    @ApiModelProperty(value = "入库数量", example = "12")
    private Integer stock;
    @ApiModelProperty(value = "开工日期", example = "2020-09-16")
    private Date startOperationTime;
    @ApiModelProperty(value = "状态(是否完成入库) 0:未完成入库 1:完成入库", example = "1")
    private Integer state;
}
